package com.pateo.springcloudgoods.dao.mapper.auto;

import com.pateo.springcloudgoods.dao.model.auto.AutoGoods;
import com.pateo.springcloudgoods.dao.model.auto.AutoGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AutoGoodsMapper {
    long countByExample(AutoGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AutoGoods record);

    int insertSelective(AutoGoods record);

    List<AutoGoods> selectByExample(AutoGoodsExample example);

    AutoGoods selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AutoGoods record, @Param("example") AutoGoodsExample example);

    int updateByExample(@Param("record") AutoGoods record, @Param("example") AutoGoodsExample example);

    int updateByPrimaryKeySelective(AutoGoods record);

    int updateByPrimaryKey(AutoGoods record);
}